﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DoNet.SFExpress.Framework;
using DoNet.SFExpress.Framework.FOP_RECE;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            /*
            顾客编码：YG7DXF5J
            生产校验码：8LlvPNV2gNki4yo8lhrx1QFWnPyRmYQP 
            沙箱校验码：oKjPSJAHY3BY6TBpFBGYSTzOTUtuQgbf
            */
            string partnerID = "YG7DXF5J";
            //string secret = "8LlvPNV2gNki4yo8lhrx1QFWnPyRmYQP";
            string secret = "oKjPSJAHY3BY6TBpFBGYSTzOTUtuQgbf"; //
            //var result = AccessToken.GetToken(partnerID, secret);
            //Console.WriteLine(result.ToString());

            MsgDataRequestAddressReachableCheck data = new MsgDataRequestAddressReachableCheck()
            {
                province = "新疆维吾尔自治区",
                city = "乌鲁木齐市",
                district = "乌鲁木齐县",
                address = "南河路南十五巷",
                addressType = 1
            };
            FopReceApi.AddressReachableCheck(partnerID, secret, data);
        }
    }
}
